package com.nineclock.system.service;

public interface SmsService {
    void createSmsCode(String mobile, String type);
    /**
     * 判断手机号是否存在,(是否已经注册).
     * @param mobile
     * @return true是已经注册
     */
    Boolean checkExists(String mobile);

    Boolean verifySms(String mobile, String checkcode, String type);

    void deleteSmsCode(String mobile, String smsTypeRegister);
}
